﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace VRacer.Connection
{
    /// <summary>
    /// Zawiera danych zdarzenia informujacego o podlaczeniu nowego klienta
    /// </summary>
    public class ConnectionAcceptedEventArgs : EventArgs
    {
        public ConnectionAcceptedEventArgs(TcpClient client)
        {
            Client = client;
        }

        /// <summary>
        /// Polaczenie z nowo podlaczonym graczem
        /// </summary>
        /// <value>The client.</value>
        public TcpClient Client
        { get; set; }
    }
}
